package com.tanhua.dubbo.api.impl;

import com.tanhua.domain.db.SoulPaper;
import com.tanhua.dubbo.api.SoulPaperApi;
import com.tanhua.dubbo.mapper.SoulPaperMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 问卷API实现
 */
@Service
public class SoulPaperApiImpl implements SoulPaperApi {

	@Autowired
	private SoulPaperMapper soulPaperMapper;

	/**
	 * 根据问卷id查询问卷信息
	 */
	@Override
	public SoulPaper findById(Long id) {
		return soulPaperMapper.selectById(id);
	}
}
